/*
 * File:    VariableStoreSql.java
 * Created: 10-Feb-2009
 * Version: $Id$
 *
 * COPYRIGHT (C) 2009, Bitgate Mobile, LLC.  All Rights Reserved.
 *
 * software@bitgatemobile.com
 */

package com.webplasm.store;

import java.sql.ResultSet;

import com.webplasm.store.VariableContainer.VariableType;

public class VariableStoreSql extends AbstractVariableStore {
	private ResultSet value;
	
	public VariableType getType() {
		return VariableType.SQL;
	}
	
	@Override
	public void setValue(Object value) {
		this.value = (ResultSet) value;
	}
	
	@Override
	public Object getObject() {
		return value;
	}
	
	@Override
	public boolean isIterative() {
		return true;
	}

}